package cn.itsource.ymcc.service.impl;

import cn.itsource.ymcc.domain.Teacher;
import cn.itsource.ymcc.mapper.TeacherMapper;
import cn.itsource.ymcc.service.ITeacherService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 老师表 服务实现类
 * </p>
 *
 * @author gwk
 * @since 2023-02-24
 */
@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher> implements ITeacherService {

    @Override
    public List<Teacher> getTeachersByCourseId(Long courseId) {
        return baseMapper.getTeachersByCourseId(courseId);
    }
}
